home *** CD-ROM | disk | FTP | other *** search
/ Champak 132 (Alt) / Vol 132.iso / games / biff_and.swf / scripts / DefineSprite_116_Acid / frame_2 / DoAction.as
Encoding:
Text File  |  2011-06-09  |  5.5 KB  |  205 lines

  1. function ┬º\x01\x02┬º()
  2. {
  3.    return 2759 % 511 * 5;
  4. }
  5. var ┬º\x01┬º = -215 + "\x01\x02"();
  6. while(true)
  7. {
  8.    if(eval("\x01") == 805)
  9.    {
  10.       set("\x01",eval("\x01") - 755);
  11.       ┬º┬ºpush(true);
  12.    }
  13.    else if(eval("\x01") == 757)
  14.    {
  15.       set("\x01",eval("\x01") - 722);
  16.       if(function ┬º\x01\x02┬º()
  17.       {
  18.          return 2759 % 511 * 5;
  19.       })
  20.       {
  21.          set("\x01",eval("\x01") + 504);
  22.       }
  23.    }
  24.    else if(eval("\x01") == 776)
  25.    {
  26.       set("\x01",eval("\x01") - 98);
  27.       ┬º┬ºpush("\x0f");
  28.    }
  29.    else if(eval("\x01") == 699)
  30.    {
  31.       set("\x01",eval("\x01") + 77);
  32.       var ┬º┬ºpop() = function ┬º\x01\x02┬º()
  33.       {
  34.          return 2759 % 511 * 5;
  35.       };
  36.    }
  37.    else if(eval("\x01") == 678)
  38.    {
  39.       set("\x01",eval("\x01") - 376);
  40.       ┬º┬ºpush(eval(function ┬º\x01\x02┬º()
  41.       {
  42.          return 2759 % 511 * 5;
  43.       }));
  44.    }
  45.    else
  46.    {
  47.       if(eval("\x01") == 35)
  48.       {
  49.          set("\x01",eval("\x01") + 504);
  50.          break;
  51.       }
  52.       if(eval("\x01") == 50)
  53.       {
  54.          set("\x01",eval("\x01") + 253);
  55.          if(function ┬º\x01\x02┬º()
  56.          {
  57.             return 2759 % 511 * 5;
  58.          })
  59.          {
  60.             set("\x01",eval("\x01") + 302);
  61.          }
  62.       }
  63.       else if(eval("\x01") == 539)
  64.       {
  65.          set("\x01",eval("\x01") - 61);
  66.       }
  67.       else if(eval("\x01") == 782)
  68.       {
  69.          set("\x01",eval("\x01") - 604);
  70.       }
  71.       else
  72.       {
  73.          if(eval("\x01") == 303)
  74.          {
  75.             set("\x01",eval("\x01") + 302);
  76.             break;
  77.          }
  78.          if(eval("\x01") == 813)
  79.          {
  80.             set("\x01",eval("\x01") - 31);
  81.             if(function ┬º\x01\x02┬º()
  82.             {
  83.                return 2759 % 511 * 5;
  84.             })
  85.             {
  86.                set("\x01",eval("\x01") - 604);
  87.             }
  88.          }
  89.          else if(eval("\x01") == 843)
  90.          {
  91.             set("\x01",eval("\x01") - 86);
  92.             ┬º┬ºpush(true);
  93.          }
  94.          else if(eval("\x01") == 605)
  95.          {
  96.             set("\x01",eval("\x01") + 238);
  97.          }
  98.          else
  99.          {
  100.             if(eval("\x01") == 178)
  101.             {
  102.                set("\x01",eval("\x01") + 384);
  103.                this._alpha = 75 - random(10);
  104.                bSpeed = random(20) / 10;
  105.                xSpeed = 6 + random(4);
  106.                BubbleControl = function()
  107.                {
  108.                   scale = 1;
  109.                   this._alpha -= 0.5;
  110.                   if(this._xscale)
  111.                   {
  112.                      this._xscale += scale;
  113.                      this._yscale += scale;
  114.                   }
  115.                   if(this._alpha < 5)
  116.                   {
  117.                      this.removeMovieClip();
  118.                   }
  119.                   this._x -= xSpeed;
  120.                   this._y -= bSpeed;
  121.                   if(this._y < _root.leineOffsetY + 60)
  122.                   {
  123.                      this._alpha -= bSpeed * 2.2;
  124.                   }
  125.                   if(this._alpha > 75)
  126.                   {
  127.                      this._alpha = 75;
  128.                   }
  129.                };
  130.                resetEyesBiff = function()
  131.                {
  132.                   clearInterval(colReniBiff);
  133.                   _root.Biff.gotoAndStop(1);
  134.                };
  135.                colControlBiff = function()
  136.                {
  137.                   if(this.hitTest(_root.Biff))
  138.                   {
  139.                      _root.Biff.gotoAndStop(2);
  140.                      colReniBiff = setInterval(resetEyesBiff,_root.stunned);
  141.                      _root.energy -= 0.2;
  142.                      _root.SpawnBlood(_root.Biff._x,_root.Biff._y);
  143.                   }
  144.                };
  145.                resetEyesBaff = function()
  146.                {
  147.                   clearInterval(colReniBaff);
  148.                   _root.Baff.gotoAndStop(1);
  149.                };
  150.                colControlBaff = function()
  151.                {
  152.                   if(this.hitTest(_root.Baff))
  153.                   {
  154.                      _root.Baff.gotoAndStop(2);
  155.                      _root.dragallowBaff = 0;
  156.                      colReniBaff = setInterval(resetEyesBaff,_root.stunned);
  157.                      _root.energy -= 0.2;
  158.                      _root.SpawnBlood(_root.Baff._x,_root.Baff._y);
  159.                   }
  160.                };
  161.                onEnterFrame = function()
  162.                {
  163.                   BubbleControl();
  164.                   colControlBaff();
  165.                   colControlBiff();
  166.                };
  167.                stop();
  168.                break;
  169.             }
  170.             if(eval("\x01") == 302)
  171.             {
  172.                set("\x01",eval("\x01") + 511);
  173.                ┬º┬ºpush(!function ┬º\x01\x02┬º()
  174.                {
  175.                   return 2759 % 511 * 5;
  176.                });
  177.             }
  178.             else if(eval("\x01") == 478)
  179.             {
  180.                set("\x01",eval("\x01") + 221);
  181.                ┬º┬ºpush("\x0f");
  182.                ┬º┬ºpush(1);
  183.             }
  184.             else if(eval("\x01") == 774)
  185.             {
  186.                set("\x01",eval("\x01") - 296);
  187.             }
  188.             else
  189.             {
  190.                if(eval("\x01") == 562)
  191.                {
  192.                   set("\x01",eval("\x01") - 562);
  193.                   break;
  194.                }
  195.                if(eval("\x01") != 46)
  196.                {
  197.                   break;
  198.                }
  199.                set("\x01",eval("\x01") + 797);
  200.             }
  201.          }
  202.       }
  203.    }
  204. }
  205.